﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.Application.Services;
using Xugege.AbpExtension.Application.Extension.DataDictionary.Dto;

namespace Xugege.AbpExtension.Application.Extension.DataDictionary
{
    public interface IDictionaryCategoryService: IApplicationService
    {
        Task<IList<DictionaryCategoryOutputDto>> GetDictionaryCategories();

        Task<DictionaryCategoryOutputDto> Update(DictionaryCategoryInputDto input);

        Task UnOrLock(DictionaryCategoryInputDto input);

        Task<int> Delete(DictionaryCategoryInputDto input);

        Task<bool> CheckCategoryCode(DictionaryCategoryCodeInputDto input);
    }
}
